﻿using System;
using System.ComponentModel;
namespace SimpleCRM.ViewDAO
{
    public class Saler : IIDSign, IEditableObject
    {
        public int ID { get; set; }

        public string Name { get; set; }

        public string Address { get; set; }

        public int IsLayoff { get; set; }

        public string Tel { get; set; }

        public DateTime CreateTime { get; set; }

        public string Remark { get; set; }

        public void BeginEdit()
        {
        }

        public void EndEdit()
        {
        }

        public void CancelEdit()
        {
        }
    }


    public class SalesDepartment : IIDSign
    {
        public int ID { get; set; }

        public string Name { get; set; }

    }

    public class SalerEventArgs
    {
        public FormViewModel FormViewModel { get; set; }
        public Saler Saler { get; set; }
    }

    public class SalerAddedEventArgs
    {

    }
}
